package com.zhiyou100.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.zhiyou100.model.Speaker;

public interface SpeakerService {
	public Speaker selectSpeakers(Integer speaker_id);

	public List<Speaker> selectSpeakerAll();

	public PageInfo<Speaker> selectSpeakerPage(Integer pageNum,Integer pageSize);

	public PageInfo<Speaker> selectSpeakerByContent(Integer pageNum, int pageSize, Speaker speaker);

	public int updateSpeaker(Speaker speaker);

	public int addSpeaker(Speaker speaker);

	public int deleteSpeaker(Integer id);
}
